package com.example.practice.service;

import com.example.practice.entity.*;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;

/**
 * (MiddleSchool)表服务接口
 *
 * @author makejava
 * @since 2023-12-29 11:02:00
 */
public interface MiddleSchoolService {

    respMsg getAllByUidPage(Integer uid, pageMsg pageMsg);

    List<MiddleSum> getSumByUid(Integer uid);

    List<AdmiYear> getAdmission(Integer mid, Integer uid);

    List<MiddleSchool> getMiddleSchool();

    List<MiddleSchool> joinMiddleSchool(Integer aid);

    Integer insertMiddleSchool(List<MiddleSchool> middleSchools);

    Integer insertAdmission(List<Admission> admissions);

    List<MiddleSchool> getAllAdmiByUid(Integer uid);
}
